
import React, { PureComponent } from 'react'

import { withRouter } from 'react-router-dom'
import './index.scss'

class index extends PureComponent {
  toSearchPageClick = () => {
    this.props.history.push('/searchPage')
  }
  render() {
    return (
      <div className="search_box">
        <div className="search_input" onClick={this.toSearchPageClick}>
          搜索
        </div>
      </div>
    )
  }
}
export default withRouter(index)